//package com.yshow.modules.app.dao;
//
//
//import com.yshow.modules.app.entity.EsBlog;
//import org.springframework.data.domain.Page;
//import org.springframework.data.domain.Pageable;
//import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
//public interface EsBlogRepository extends ElasticsearchRepository<EsBlog,String> {
//    /*
//    * 分页查询博客（去重功能）
//    * 继承ElasticsearchRepository，泛型的参数分别是实体类型和主键类型
//    * */
//    Page<EsBlog> findDistinctEsBlogByTitleContainingOrSummaryContainingOrContentContaining(String title,String summary,String content,Pageable pageable);
//}
